package repository

import (
	"errors"
	"time"
)

var ErrGoldNotEnough = errors.New("not enough")                 //金币或者钻石不足
var ErrGoldTypClosed = errors.New("operation is closed")        //rtype 被关闭了
var ErrGoldTypNotExists = errors.New("operation is fail")       //不存在的rtype，非法
var ErrGoldTypModeError = errors.New("operation mode is error") //rtype的操作与配置不符
var ErrGoldTypError = errors.New("operation type is error")     //rtype的类型与配置不符
var ErrGoldIsZero = errors.New("operation number do not zero")  //操作数量不能为0
// var ErrGoldAddFailed = errors.New("operation add error")          //操作数量不能为0

type Record struct {
	Time   time.Time
	Number int64
	Uid    uint64
	Typ    int
	Extend map[string]any
}

type WalletRepository interface {
}
